package com.link2room.aeriabots.service;

import com.link2room.common.jpa.result.QueryResult;
import com.link2room.aeriabots.dto.param.api.WxReplyKeyApiParamDto;
import com.link2room.aeriabots.entity.WxReplyTemplate;
import com.link2room.aeriabots.entity.WxReplyTemplateDetail;
import com.link2room.aeriabots.mapper.WxReplyKeyMapper;

import java.util.List;

/**
 * Created by LN on 2016/12/2.
 */
public interface IWxKeyWordReplyService {
    void save(WxReplyTemplate wxReplyTemplate, List<WxReplyTemplateDetail> articleEntities) throws Exception;

    void update(WxReplyTemplate wxReplyTemplate, List<WxReplyTemplateDetail> articleEntities, List<Long> delArticleList) throws Exception;

    void delReply(WxReplyTemplate wxReplyTemplate, List<WxReplyTemplateDetail> articleEntities) throws Exception;

    QueryResult<WxReplyKeyMapper> findWxReplyKeyMapper(WxReplyKeyApiParamDto find, Integer currentPage, Integer pageSize) throws Exception;
}
